package medicos;

import util.IllegalArgumentException;
import util.RepositorioException;

public interface RepositorioMedicos {
	public void inserir (Medico medico)throws RepositorioException;
	public boolean existe (long matricula) throws RepositorioException;
	public void atualizar(Medico medico) throws MedicoNaoEncontradoException, RepositorioException, IllegalArgumentException;
	public Medico procurar (long matricula) throws MedicoNaoEncontradoException, RepositorioException;
	public void remover (long matricula) throws MedicoNaoEncontradoException, RepositorioException;
	public RepositorioMedicos procurar(Medico medico) throws RepositorioException;
	public IteratorMedicos getIterator() throws RepositorioException;
}
